package org.example.bean3;



import lombok.Data;
import org.springframework.context.annotation.Conditional;
import org.springframework.stereotype.Component;

@Data    // lombok的注解, 它可以生成set,get, tostring, 构造方法
@Component    //让spring容器托管这个bean
@Conditional(SystemCondition.class)
public class Email {
    private String content;
}
